package com.google.samples.apps.paging.http

import com.google.samples.apps.paging.data.bean.GoodsListBean
import retrofit2.Call
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.POST

/**
 * Created by Administrator on 2021/7/10 0010.
 * Describe:
 */
interface ApiService {

    //    @FormUrlEncoded
//    @POST("ucommunity_getPostHomePage.do")
//    fun getPostHomePage(@Field("mapStr") mapStr: String): Observable<BaseBean<PostListBean>>
    @FormUrlEncoded
    @POST("uindex_getIndexPageDate.do")
    fun getGoodsHome(@Field("mapStr") mapStr: String): Call<BaseBean<GoodsListBean>>

}